package com.example.datachange.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Headers;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.annotation.Var;
import com.example.datachange.model.WorkOrderDetailResult;

@BaseRequest(baseURL = "${baseUrl}/inspection/progress")
public interface ForestClient {

    @Post(value = "/workorder/detail/{id}")
    WorkOrderDetailResult test(@Var("id") String id);

    @Post(value = "/workorder/detail/{id}")
    @Headers({"ip:10.244.201.198", "token:NiR7x74s0/L+JorS43FJP/qcBm3Jqb6gxOfz+ipG1m+ag+Cea0vFx6Raf0k4/AEKXXSfs+zKQ+/lPgXFOcY0+HTfpeuobgZ0njATylzt3tPAPLdWMxZbErixuRHQk8+NT8sS"})
    WorkOrderDetailResult header(@Var("id") String id);

}
